package com.yusi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yusi
 * @since 2022-01-05
 */
@TableName("airplane")
@ApiModel(value = "Airplane对象", description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Airplane implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("飞机型号")
    private String airplaneType;

    @ApiModelProperty("飞机尺寸")
    private String airplaneSize;

    @ApiModelProperty("飞机产地")
    private String yieldly;

    @ApiModelProperty("最大载客")
    private Integer maxCarry;

    @ApiModelProperty("最快飞行速度")
    private Float maxSpeed;

    @ApiModelProperty("最大载货量")
    private Integer maxCapacity;

    @ApiModelProperty("最远飞行距离")
    private Integer maxDis;

    @ApiModelProperty("是否启用，1true，0false")
    private Integer isenable;

    @ApiModelProperty("备住")
    private String remark;
}
